package com.atguigu01.create.exer1;

/**
 * @author lhl
 * @date 2025/4/2 15:02
 */
public class EvenNumberPrint extends Thread{

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            if (i % 2 == 0){
                System.out.println(Thread.currentThread().getName()+"："+i);
            }
        }
    }
}
